package com.test.study.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import com.test.study.web.GpRpcServer;

@Configuration
@ComponentScan(basePackages = "com.test.study")
public class SpringConfig {

	int port = 5566;
	
	@Bean
	public GpRpcServer gpRpcServer(){
		return new GpRpcServer(port);
	}
}
